SmartPay\Framework\Database\Eloquent\Model D

Total Complexity 158
Dependencies 11
Dependents 5
Total lines 894
Lines of code 514
Logical lines of code 260
Comment lines 55
Methods 90
Properties 17

Methods 90

Method Rating Maintainability Complexity Lines of code
toArray()
S
54 7 19
getAttribute()
S
57 6 18
performUpdate()
S
58 5 17
isDirty()
S
59 5 15
push()
S
60 5 14
getDirty()
S
60 5 13
guessBelongsToManyRelationName()
S
60 5 12
save()
S
60 4 14
delete()
S
60 4 14
setAttributes()
S
62 4 12
isFillable()
S
63 4 10
updateTimestamps()
S
65 4 9
hasManyThrough()
S
67 4 7
applyGlobalScopes()
S
69 3 7
originalIsNumericallyEquivalent()
S
70 3 5
getOriginal()
S
70 3 6
performInsert()
S
63 2 11
bootModel()
S
69 2 7
fireModelEvent()
S
67 2 7
getGlobalScopes()
S
69 2 7
isGuarded()
S
74 2 4
setAttribute()
S
67 2 8
getMutator()
S
67 2 7
setRawAttributes()
S
69 2 7
relationshipExists()
S
71 2 6
load()
S
70 2 6
toJson()
S
68 2 7
getKey()
S
71 2 6
getKeyForSaveQuery()
S
71 2 6
belongsToMany()
S
63 1 12
__construct()
S
74 1 5
setTable()
S
81 1 3
getCalledClassName()
S
78 1 3
boot()
S
89 1 2
registerModelEvent()
S
74 1 4
retrieved()
S
79 1 3
saving()
S
79 1 3
saved()
S
79 1 3
creating()
S
79 1 3
created()
S
79 1 3
updating()
S
79 1 3
updated()
S
79 1 3
deleting()
S
79 1 3
deleted()
S
79 1 3
addGlobalScope()
S
78 1 3
removeGlobalScopes()
S
73 1 5
removeGlobalScope()
S
72 1 5
syncOriginal()
S
77 1 4
fill()
S
80 1 3
getFillable()
S
82 1 3
getGuarded()
S
82 1 3
getAttributes()
S
82 1 3
relationLoaded()
S
79 1 3
getRelation()
S
80 1 3
setRelation()
S
80 1 3
getRelationFromMethod()
S
77 1 4
hasAttribute()
S
79 1 3
hasTimestamps()
S
82 1 3
hasLocalScope()
S
74 1 4
callLocalScope()
S
66 1 8
jsonSerialize()
S
81 1 3
getTable()
S
82 1 3
getKeyName()
S
82 1 3
getQualifiedKeyName()
S
79 1 3
newBaseQuery()
S
82 1 3
newQuery()
S
70 1 6
registerEventForGlobalScopes()
S
74 1 5
newInstance()
S
73 1 5
newInstanceFromDB()
S
70 1 6
newCollection()
S
80 1 3
newPivot()
S
78 1 3
setKeysForSaveQuery()
S
75 1 4
performDelete()
S
76 1 4
getCreatedAtColumn()
S
81 1 3
getUpdatedAtColumn()
S
81 1 3
freshTimestamp()
S
81 1 3
hasOne()
S
66 1 9
belongsTo()
S
68 1 6
hasMany()
S
66 1 9
__get()
S
80 1 3
__Set()
S
80 1 3
offsetExists()
S
79 1 3
offsetGet()
S
80 1 3
offsetSet()
S
80 1 3
offsetUnset()
S
79 1 3
__isset()
S
80 1 3
__unset()
S
81 1 3
forwardCallToModelQueryBuilder()
S
78 1 3
__call()
S
79 1 3
__callStatic()
S
78 1 3